-
Home
-
Admiral Adblock Analytics
-
1.10.3
-
Code
-
Classes
- AdmiralHttpHandler
Total Complexity |
93 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
513 |
Lines of code |
338 |
Logical lines of code |
207 |
Comment lines |
96 |
Methods |
22 |
Properties |
6 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
proxyRequest() |
B |
38 |
15 |
66 |
httpCall() |
A |
40 |
11 |
63 |
handleCachedResponse() |
A |
48 |
12 |
30 |
getSiteScheme() |
S |
62 |
7 |
10 |
getHeadersFromServer() |
S |
58 |
5 |
14 |
getRealIP() |
S |
58 |
5 |
14 |
fetchEmbed() |
S |
59 |
5 |
13 |
getProxyPrefixForURI() |
S |
61 |
5 |
12 |
handleRevalidation() |
S |
56 |
4 |
19 |
handleCaching() |
S |
64 |
4 |
8 |
getSiteHostAndPrefix() |
S |
63 |
3 |
10 |
getProxyPrefixes() |
S |
59 |
2 |
13 |
getEmbedQueryParams() |
S |
61 |
2 |
13 |
shouldRevalidateEmbedCache() |
S |
77 |
2 |
3 |
fetchEmbedDirect() |
S |
68 |
2 |
6 |
getEmbedURL() |
S |
67 |
2 |
7 |
generateForSeed() |
S |
64 |
2 |
9 |
getEmbedCacheKey() |
S |
78 |
1 |
3 |
valueFromSeed() |
S |
70 |
1 |
5 |
getPropertyNumber() |
S |
64 |
1 |
9 |
getProxyPrefixToday() |
S |
71 |
1 |
5 |
__construct() |
S |
71 |
1 |
6 |